package com.rocker.client.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author 喻湘东
 * @Create 2019-11-22 23:58:02
 */
@Controller
public class HtmlController {

    @GetMapping("/")
    public String index(Model model){
        model.addAttribute("HNS","湖南省");
        model.addAttribute("GDS","广东省");
        model.addAttribute("BJS","北京市");
        model.addAttribute("FJS","福建省");
        return "index";
    }

}
